//***************************************************************************
// Class Name: QueueNode 
//
// Written By: Stephen Durfey 
//
// For: CS 202 MWF 9:30am-10:20am
//
// Purpose: Objects of this class are used in the creation of a new Queue
//	node. The class allows class Queue to be a friend and when called
//	dynamically creates a new node and places that integer value at the 
//	rear of the Queue. 
//
// Member Functions: PRIVATE:
//
//	QueueNode(int):
//
//		This default contructor accepts an integer value to be 
//	added to the Queue and is then calls the function push which
//	dynamically creates a new node for the Queue and places the
//	integer value at the rear of the Queue.
//
// Member Data:
//
//	NumItems: integer value to be added to the rear of the Queue
//	*next: pointer to the next Queue node
//
//***************************************************************************
#include<iostream>
using namespace std;
class Queue;

class	QueueNode
{
	friend	class Queue;		// make the class Queue a friend
	friend ostream &operator<< (ostream &, Queue &); // make the function a friend

	private:

	   QueueNode(int);		// default constructor
	   int NumItems;		// value to be added to Queue
 	   QueueNode *next;		// initialized to Null by the default constructor
};


//***************************************************************************
